package com.techstar.api.pojo.expressway;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import com.techstar.api.pojo.complex_id.FreewayCongestTrendId;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 高速拥堵趋势
 * @date 2021年6月25日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "freeway_congest_trend")
@IdClass(FreewayCongestTrendId.class)
@org.hibernate.annotations.Table(appliesTo = "freeway_congest_trend",comment="pord-4-高速拥堵趋势")
public class FreewayCongestTrend {
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '高速公路标识'")
	private String highwayId;
	@Column(columnDefinition="varchar(100) COMMENT '高速公路名称'")
	private String highwayName;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵指数'")
	private String congestIndex;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵指数同比'")
	private String congestIndexCsy;
	@Column(columnDefinition="varchar(100) COMMENT '拥堵指数环比'")
	private String congestIndexCsm;
	@Column(columnDefinition="varchar(100) COMMENT '行驶速度'")
	private String speedAvg;
	@Column(columnDefinition="varchar(100) COMMENT '行驶速度同比'")
	private String speedAvgCsy;
	@Column(columnDefinition="varchar(100) COMMENT '行驶速度环比'")
	private String speedAvgCsm;
	@Column(columnDefinition="varchar(100) COMMENT '车流量'")
	private String vehicleFlow;
	@Column(columnDefinition="varchar(100) COMMENT '车流量同比'")
	private String vehicleFlowCsy;
	@Column(columnDefinition="varchar(100) COMMENT '车流量环比'")
	private String vehicleFlowCsm;
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '业务更新时间'")
	private String createTime;
}
